Skip to content

Conversation

@jsquyres
Copy link
Member

@jsquyres jsquyres commented May 16, 2025

See individual commit messages for details. The main / important commit in this PR has the following commit message:


Commit cb4fe48 didn't quite get the Python configury tests correct. This commit fixes several issues:

  • Move the AM_INIT_AUTOMAKE up before we call AM_PATH_PYTHON.

  • Since we converted a few Perl scripts to Python in a60b03b, we now always need Python to build Open MPI. Multiple Python scripts are invoked post-configure (i.e., reacting to configure results -- see a60b03b) to build the C and Fortran and MPI bindings.

  • Since we now always have Python, remove the OMPI_GENERATE_BINDINGS AM_CONDITIONAL.

  • Use the slightly-more-correct $(PYTHON) in Makefile.am (vs. $(python)).

jsquyres added 3 commits May 16, 2025 08:01
No code or logic changes

Signed-off-by: Jeff Squyres <[email protected]>
Ensure that we can still configure if there is no Fortran compiler.

Signed-off-by: Jeff Squyres <[email protected]>
Commit cb4fe48 didn't quite get the Python configury tests correct.
This commit fixes several issues:

* Move the AM_INIT_AUTOMAKE up before we call AM_PATH_PYTHON.

* Since we converted a few Perl scripts to Python in a60b03b, we now
  *always* need Python to build Open MPI.  Multiple Python scripts are
  invoked post-configure (i.e., reacting to configure results -- see
  a60b03b) to build the C and Fortran and MPI bindings.

* Since we now always have Python, remove the OMPI_GENERATE_BINDINGS
  AM_CONDITIONAL.

* Use the slightly-more-correct $(PYTHON) in Makefile.am
  (vs. $(python)).

Signed-off-by: Jeff Squyres <[email protected]>
@bosilca bosilca merged commit c66b0c7 into open-mpi:main May 16, 2025
18 checks passed
@jsquyres jsquyres deleted the pr/fix-the-python-configury-tests branch May 16, 2025 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants